3.2.53 \(\int \frac {a+b \tanh ^{-1}(c x)}{x^3 (d+e x)} \, dx\) [153]

Optimal. Leaf size=261 \[ -\frac {b c}{2 d x}+\frac {b c^2 \tanh ^{-1}(c x)}{2 d}-\frac {a+b \tanh ^{-1}(c x)}{2 d x^2}+\frac {e \left (a+b \tanh ^{-1}(c x)\right )}{d^2 x}-\frac {b c e \log (x)}{d^2}+\frac {a e^2 \log (x)}{d^3}+\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{d^3}-\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{d^3}+\frac {b c e \log \left (1-c^2 x^2\right )}{2 d^2}-\frac {b e^2 \text {PolyLog}(2,-c x)}{2 d^3}+\frac {b e^2 \text {PolyLog}(2,c x)}{2 d^3}-\frac {b e^2 \text {PolyLog}\left (2,1-\frac {2}{1+c x}\right )}{2 d^3}+\frac {b e^2 \text {PolyLog}\left (2,1-\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{2 d^3} \]

[Out]

-1/2*b*c/d/x+1/2*b*c^2*arctanh(c*x)/d+1/2*(-a-b*arctanh(c*x))/d/x^2+e*(a+b*arctanh(c*x))/d^2/x-b*c*e*ln(x)/d^2
+a*e^2*ln(x)/d^3+e^2*(a+b*arctanh(c*x))*ln(2/(c*x+1))/d^3-e^2*(a+b*arctanh(c*x))*ln(2*c*(e*x+d)/(c*d+e)/(c*x+1
))/d^3+1/2*b*c*e*ln(-c^2*x^2+1)/d^2-1/2*b*e^2*polylog(2,-c*x)/d^3+1/2*b*e^2*polylog(2,c*x)/d^3-1/2*b*e^2*polyl
og(2,1-2/(c*x+1))/d^3+1/2*b*e^2*polylog(2,1-2*c*(e*x+d)/(c*d+e)/(c*x+1))/d^3

________________________________________________________________________________________

Rubi [A]
time = 0.18, antiderivative size = 261, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 13, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.684, Rules used = {6087, 6037, 331, 212, 272, 36, 29, 31, 6031, 6057, 2449, 2352, 2497} \begin {gather*} \frac {e^2 \log \left (\frac {2}{c x+1}\right ) \left (a+b \tanh ^{-1}(c x)\right )}{d^3}-\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2 c (d+e x)}{(c x+1) (c d+e)}\right )}{d^3}+\frac {e \left (a+b \tanh ^{-1}(c x)\right )}{d^2 x}-\frac {a+b \tanh ^{-1}(c x)}{2 d x^2}+\frac {a e^2 \log (x)}{d^3}+\frac {b c e \log \left (1-c^2 x^2\right )}{2 d^2}+\frac {b c^2 \tanh ^{-1}(c x)}{2 d}-\frac {b e^2 \text {Li}_2(-c x)}{2 d^3}+\frac {b e^2 \text {Li}_2(c x)}{2 d^3}-\frac {b e^2 \text {Li}_2\left (1-\frac {2}{c x+1}\right )}{2 d^3}+\frac {b e^2 \text {Li}_2\left (1-\frac {2 c (d+e x)}{(c d+e) (c x+1)}\right )}{2 d^3}-\frac {b c e \log (x)}{d^2}-\frac {b c}{2 d x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*ArcTanh[c*x])/(x^3*(d + e*x)),x]

[Out]

-1/2*(b*c)/(d*x) + (b*c^2*ArcTanh[c*x])/(2*d) - (a + b*ArcTanh[c*x])/(2*d*x^2) + (e*(a + b*ArcTanh[c*x]))/(d^2
*x) - (b*c*e*Log[x])/d^2 + (a*e^2*Log[x])/d^3 + (e^2*(a + b*ArcTanh[c*x])*Log[2/(1 + c*x)])/d^3 - (e^2*(a + b*
ArcTanh[c*x])*Log[(2*c*(d + e*x))/((c*d + e)*(1 + c*x))])/d^3 + (b*c*e*Log[1 - c^2*x^2])/(2*d^2) - (b*e^2*Poly
Log[2, -(c*x)])/(2*d^3) + (b*e^2*PolyLog[2, c*x])/(2*d^3) - (b*e^2*PolyLog[2, 1 - 2/(1 + c*x)])/(2*d^3) + (b*e
^2*PolyLog[2, 1 - (2*c*(d + e*x))/((c*d + e)*(1 + c*x))])/(2*d^3)

Rule 29

Int[(x_)^(-1), x_Symbol] :> Simp[Log[x], x]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 36

Int[1/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Dist[b/(b*c - a*d), Int[1/(a + b*x), x], x] -
Dist[d/(b*c - a*d), Int[1/(c + d*x), x], x] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 331

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c*x)^(m + 1)*((a + b*x^n)^(p + 1)/(a*c
*(m + 1))), x] - Dist[b*((m + n*(p + 1) + 1)/(a*c^n*(m + 1))), Int[(c*x)^(m + n)*(a + b*x^n)^p, x], x] /; Free
Q[{a, b, c, p}, x] && IGtQ[n, 0] && LtQ[m, -1] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 2352

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(-e^(-1))*PolyLog[2, 1 - c*x], x] /; FreeQ[{c, d, e
}, x] && EqQ[e + c*d, 0]

Rule 2449

Int[Log[(c_.)/((d_) + (e_.)*(x_))]/((f_) + (g_.)*(x_)^2), x_Symbol] :> Dist[-e/g, Subst[Int[Log[2*d*x]/(1 - 2*
d*x), x], x, 1/(d + e*x)], x] /; FreeQ[{c, d, e, f, g}, x] && EqQ[c, 2*d] && EqQ[e^2*f + d^2*g, 0]

Rule 2497

Int[Log[u_]*(Pq_)^(m_.), x_Symbol] :> With[{C = FullSimplify[Pq^m*((1 - u)/D[u, x])]}, Simp[C*PolyLog[2, 1 - u
], x] /; FreeQ[C, x]] /; IntegerQ[m] && PolyQ[Pq, x] && RationalFunctionQ[u, x] && LeQ[RationalFunctionExponen
ts[u, x][[2]], Expon[Pq, x]]

Rule 6031

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (-Simp[(b/2)*PolyLog[2, (-c)*x]
, x] + Simp[(b/2)*PolyLog[2, c*x], x]) /; FreeQ[{a, b, c}, x]

Rule 6037

Int[((a_.) + ArcTanh[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)*((a + b*ArcTanh[c*
x^n])^p/(m + 1)), x] - Dist[b*c*n*(p/(m + 1)), Int[x^(m + n)*((a + b*ArcTanh[c*x^n])^(p - 1)/(1 - c^2*x^(2*n))
), x], x] /; FreeQ[{a, b, c, m, n}, x] && IGtQ[p, 0] && (EqQ[p, 1] || (EqQ[n, 1] && IntegerQ[m])) && NeQ[m, -1
]

Rule 6057

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(-(a + b*ArcTanh[c*x]))*(Log[2/
(1 + c*x)]/e), x] + (Dist[b*(c/e), Int[Log[2/(1 + c*x)]/(1 - c^2*x^2), x], x] - Dist[b*(c/e), Int[Log[2*c*((d
+ e*x)/((c*d + e)*(1 + c*x)))]/(1 - c^2*x^2), x], x] + Simp[(a + b*ArcTanh[c*x])*(Log[2*c*((d + e*x)/((c*d + e
)*(1 + c*x)))]/e), x]) /; FreeQ[{a, b, c, d, e}, x] && NeQ[c^2*d^2 - e^2, 0]

Rule 6087

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_))^(q_.), x_Symbol] :> Int[E
xpandIntegrand[(a + b*ArcTanh[c*x])^p, (f*x)^m*(d + e*x)^q, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && IGtQ[
p, 0] && IntegerQ[q] && (GtQ[q, 0] || NeQ[a, 0] || IntegerQ[m])

Rubi steps

\begin {align*} \int \frac {a+b \tanh ^{-1}(c x)}{x^3 (d+e x)} \, dx &=\int \left (\frac {a+b \tanh ^{-1}(c x)}{d x^3}-\frac {e \left (a+b \tanh ^{-1}(c x)\right )}{d^2 x^2}+\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right )}{d^3 x}-\frac {e^3 \left (a+b \tanh ^{-1}(c x)\right )}{d^3 (d+e x)}\right ) \, dx\\ &=\frac {\int \frac {a+b \tanh ^{-1}(c x)}{x^3} \, dx}{d}-\frac {e \int \frac {a+b \tanh ^{-1}(c x)}{x^2} \, dx}{d^2}+\frac {e^2 \int \frac {a+b \tanh ^{-1}(c x)}{x} \, dx}{d^3}-\frac {e^3 \int \frac {a+b \tanh ^{-1}(c x)}{d+e x} \, dx}{d^3}\\ &=-\frac {a+b \tanh ^{-1}(c x)}{2 d x^2}+\frac {e \left (a+b \tanh ^{-1}(c x)\right )}{d^2 x}+\frac {a e^2 \log (x)}{d^3}+\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{d^3}-\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{d^3}-\frac {b e^2 \text {Li}_2(-c x)}{2 d^3}+\frac {b e^2 \text {Li}_2(c x)}{2 d^3}+\frac {(b c) \int \frac {1}{x^2 \left (1-c^2 x^2\right )} \, dx}{2 d}-\frac {(b c e) \int \frac {1}{x \left (1-c^2 x^2\right )} \, dx}{d^2}-\frac {\left (b c e^2\right ) \int \frac {\log \left (\frac {2}{1+c x}\right )}{1-c^2 x^2} \, dx}{d^3}+\frac {\left (b c e^2\right ) \int \frac {\log \left (\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{1-c^2 x^2} \, dx}{d^3}\\ &=-\frac {b c}{2 d x}-\frac {a+b \tanh ^{-1}(c x)}{2 d x^2}+\frac {e \left (a+b \tanh ^{-1}(c x)\right )}{d^2 x}+\frac {a e^2 \log (x)}{d^3}+\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{d^3}-\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{d^3}-\frac {b e^2 \text {Li}_2(-c x)}{2 d^3}+\frac {b e^2 \text {Li}_2(c x)}{2 d^3}+\frac {b e^2 \text {Li}_2\left (1-\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{2 d^3}+\frac {\left (b c^3\right ) \int \frac {1}{1-c^2 x^2} \, dx}{2 d}-\frac {(b c e) \text {Subst}\left (\int \frac {1}{x \left (1-c^2 x\right )} \, dx,x,x^2\right )}{2 d^2}-\frac {\left (b e^2\right ) \text {Subst}\left (\int \frac {\log (2 x)}{1-2 x} \, dx,x,\frac {1}{1+c x}\right )}{d^3}\\ &=-\frac {b c}{2 d x}+\frac {b c^2 \tanh ^{-1}(c x)}{2 d}-\frac {a+b \tanh ^{-1}(c x)}{2 d x^2}+\frac {e \left (a+b \tanh ^{-1}(c x)\right )}{d^2 x}+\frac {a e^2 \log (x)}{d^3}+\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{d^3}-\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{d^3}-\frac {b e^2 \text {Li}_2(-c x)}{2 d^3}+\frac {b e^2 \text {Li}_2(c x)}{2 d^3}-\frac {b e^2 \text {Li}_2\left (1-\frac {2}{1+c x}\right )}{2 d^3}+\frac {b e^2 \text {Li}_2\left (1-\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{2 d^3}-\frac {(b c e) \text {Subst}\left (\int \frac {1}{x} \, dx,x,x^2\right )}{2 d^2}-\frac {\left (b c^3 e\right ) \text {Subst}\left (\int \frac {1}{1-c^2 x} \, dx,x,x^2\right )}{2 d^2}\\ &=-\frac {b c}{2 d x}+\frac {b c^2 \tanh ^{-1}(c x)}{2 d}-\frac {a+b \tanh ^{-1}(c x)}{2 d x^2}+\frac {e \left (a+b \tanh ^{-1}(c x)\right )}{d^2 x}-\frac {b c e \log (x)}{d^2}+\frac {a e^2 \log (x)}{d^3}+\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{d^3}-\frac {e^2 \left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{d^3}+\frac {b c e \log \left (1-c^2 x^2\right )}{2 d^2}-\frac {b e^2 \text {Li}_2(-c x)}{2 d^3}+\frac {b e^2 \text {Li}_2(c x)}{2 d^3}-\frac {b e^2 \text {Li}_2\left (1-\frac {2}{1+c x}\right )}{2 d^3}+\frac {b e^2 \text {Li}_2\left (1-\frac {2 c (d+e x)}{(c d+e) (1+c x)}\right )}{2 d^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 4.13, size = 435, normalized size = 1.67 \begin {gather*} -\frac {a}{2 d x^2}+\frac {a e}{d^2 x}+\frac {a e^2 \log (x)}{d^3}-\frac {a e^2 \log (d+e x)}{d^3}-\frac {b \left (\frac {c^2 d^3}{x}+i c d e^2 \pi \tanh ^{-1}(c x)-\frac {2 c d^2 e \tanh ^{-1}(c x)}{x}+\frac {c d^3 \left (1-c^2 x^2\right ) \tanh ^{-1}(c x)}{x^2}+2 c d e^2 \tanh ^{-1}\left (\frac {c d}{e}\right ) \tanh ^{-1}(c x)-c d e^2 \tanh ^{-1}(c x)^2+e^3 \tanh ^{-1}(c x)^2-\sqrt {1-\frac {c^2 d^2}{e^2}} e^3 e^{-\tanh ^{-1}\left (\frac {c d}{e}\right )} \tanh ^{-1}(c x)^2-2 c d e^2 \tanh ^{-1}(c x) \log \left (1-e^{-2 \tanh ^{-1}(c x)}\right )-i c d e^2 \pi \log \left (1+e^{2 \tanh ^{-1}(c x)}\right )+2 c d e^2 \tanh ^{-1}\left (\frac {c d}{e}\right ) \log \left (1-e^{-2 \left (\tanh ^{-1}\left (\frac {c d}{e}\right )+\tanh ^{-1}(c x)\right )}\right )+2 c d e^2 \tanh ^{-1}(c x) \log \left (1-e^{-2 \left (\tanh ^{-1}\left (\frac {c d}{e}\right )+\tanh ^{-1}(c x)\right )}\right )+i c d e^2 \pi \log \left (\frac {1}{\sqrt {1-c^2 x^2}}\right )+2 c^2 d^2 e \log \left (\frac {c x}{\sqrt {1-c^2 x^2}}\right )-2 c d e^2 \tanh ^{-1}\left (\frac {c d}{e}\right ) \log \left (i \sinh \left (\tanh ^{-1}\left (\frac {c d}{e}\right )+\tanh ^{-1}(c x)\right )\right )+c d e^2 \text {PolyLog}\left (2,e^{-2 \tanh ^{-1}(c x)}\right )-c d e^2 \text {PolyLog}\left (2,e^{-2 \left (\tanh ^{-1}\left (\frac {c d}{e}\right )+\tanh ^{-1}(c x)\right )}\right )\right )}{2 c d^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*ArcTanh[c*x])/(x^3*(d + e*x)),x]

[Out]

-1/2*a/(d*x^2) + (a*e)/(d^2*x) + (a*e^2*Log[x])/d^3 - (a*e^2*Log[d + e*x])/d^3 - (b*((c^2*d^3)/x + I*c*d*e^2*P
i*ArcTanh[c*x] - (2*c*d^2*e*ArcTanh[c*x])/x + (c*d^3*(1 - c^2*x^2)*ArcTanh[c*x])/x^2 + 2*c*d*e^2*ArcTanh[(c*d)
/e]*ArcTanh[c*x] - c*d*e^2*ArcTanh[c*x]^2 + e^3*ArcTanh[c*x]^2 - (Sqrt[1 - (c^2*d^2)/e^2]*e^3*ArcTanh[c*x]^2)/
E^ArcTanh[(c*d)/e] - 2*c*d*e^2*ArcTanh[c*x]*Log[1 - E^(-2*ArcTanh[c*x])] - I*c*d*e^2*Pi*Log[1 + E^(2*ArcTanh[c
*x])] + 2*c*d*e^2*ArcTanh[(c*d)/e]*Log[1 - E^(-2*(ArcTanh[(c*d)/e] + ArcTanh[c*x]))] + 2*c*d*e^2*ArcTanh[c*x]*
Log[1 - E^(-2*(ArcTanh[(c*d)/e] + ArcTanh[c*x]))] + I*c*d*e^2*Pi*Log[1/Sqrt[1 - c^2*x^2]] + 2*c^2*d^2*e*Log[(c
*x)/Sqrt[1 - c^2*x^2]] - 2*c*d*e^2*ArcTanh[(c*d)/e]*Log[I*Sinh[ArcTanh[(c*d)/e] + ArcTanh[c*x]]] + c*d*e^2*Pol
yLog[2, E^(-2*ArcTanh[c*x])] - c*d*e^2*PolyLog[2, E^(-2*(ArcTanh[(c*d)/e] + ArcTanh[c*x]))]))/(2*c*d^4)

________________________________________________________________________________________

Maple [A]
time = 3.80, size = 418, normalized size = 1.60

method result size
derivativedivides \(c^{2} \left (-\frac {a}{2 d \,c^{2} x^{2}}+\frac {a \,e^{2} \ln \left (c x \right )}{c^{2} d^{3}}+\frac {a e}{c^{2} d^{2} x}-\frac {a \,e^{2} \ln \left (c e x +d c \right )}{c^{2} d^{3}}-\frac {b \arctanh \left (c x \right )}{2 d \,c^{2} x^{2}}+\frac {b \arctanh \left (c x \right ) e^{2} \ln \left (c x \right )}{c^{2} d^{3}}+\frac {b \arctanh \left (c x \right ) e}{c^{2} d^{2} x}-\frac {b \arctanh \left (c x \right ) e^{2} \ln \left (c e x +d c \right )}{c^{2} d^{3}}-\frac {b \ln \left (c x -1\right )}{4 d}+\frac {b \ln \left (c x -1\right ) e}{2 c \,d^{2}}+\frac {b \ln \left (c x +1\right )}{4 d}+\frac {b \ln \left (c x +1\right ) e}{2 c \,d^{2}}-\frac {b e \ln \left (c x \right )}{c \,d^{2}}-\frac {b}{2 d c x}-\frac {b \,e^{2} \dilog \left (c x \right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \dilog \left (c x +1\right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \ln \left (c x \right ) \ln \left (c x +1\right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \ln \left (c e x +d c \right ) \ln \left (\frac {c e x -e}{-d c -e}\right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \dilog \left (\frac {c e x -e}{-d c -e}\right )}{2 c^{2} d^{3}}+\frac {b \,e^{2} \ln \left (c e x +d c \right ) \ln \left (\frac {c e x +e}{-d c +e}\right )}{2 c^{2} d^{3}}+\frac {b \,e^{2} \dilog \left (\frac {c e x +e}{-d c +e}\right )}{2 c^{2} d^{3}}\right )\) \(418\)
default \(c^{2} \left (-\frac {a}{2 d \,c^{2} x^{2}}+\frac {a \,e^{2} \ln \left (c x \right )}{c^{2} d^{3}}+\frac {a e}{c^{2} d^{2} x}-\frac {a \,e^{2} \ln \left (c e x +d c \right )}{c^{2} d^{3}}-\frac {b \arctanh \left (c x \right )}{2 d \,c^{2} x^{2}}+\frac {b \arctanh \left (c x \right ) e^{2} \ln \left (c x \right )}{c^{2} d^{3}}+\frac {b \arctanh \left (c x \right ) e}{c^{2} d^{2} x}-\frac {b \arctanh \left (c x \right ) e^{2} \ln \left (c e x +d c \right )}{c^{2} d^{3}}-\frac {b \ln \left (c x -1\right )}{4 d}+\frac {b \ln \left (c x -1\right ) e}{2 c \,d^{2}}+\frac {b \ln \left (c x +1\right )}{4 d}+\frac {b \ln \left (c x +1\right ) e}{2 c \,d^{2}}-\frac {b e \ln \left (c x \right )}{c \,d^{2}}-\frac {b}{2 d c x}-\frac {b \,e^{2} \dilog \left (c x \right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \dilog \left (c x +1\right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \ln \left (c x \right ) \ln \left (c x +1\right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \ln \left (c e x +d c \right ) \ln \left (\frac {c e x -e}{-d c -e}\right )}{2 c^{2} d^{3}}-\frac {b \,e^{2} \dilog \left (\frac {c e x -e}{-d c -e}\right )}{2 c^{2} d^{3}}+\frac {b \,e^{2} \ln \left (c e x +d c \right ) \ln \left (\frac {c e x +e}{-d c +e}\right )}{2 c^{2} d^{3}}+\frac {b \,e^{2} \dilog \left (\frac {c e x +e}{-d c +e}\right )}{2 c^{2} d^{3}}\right )\) \(418\)
risch \(-\frac {b c}{2 d x}+\frac {c^{2} b \ln \left (-c x \right )}{4 d}-\frac {c^{2} b \ln \left (-c x +1\right )}{4 d}+\frac {b \ln \left (-c x +1\right )}{4 d \,x^{2}}-\frac {c b e \ln \left (-c x \right )}{2 d^{2}}+\frac {c b e \ln \left (-c x +1\right )}{2 d^{2}}-\frac {b e \ln \left (-c x +1\right )}{2 d^{2} x}+\frac {b \,e^{2} \dilog \left (\frac {\left (-c x +1\right ) e -d c -e}{-d c -e}\right )}{2 d^{3}}+\frac {b \,e^{2} \ln \left (-c x +1\right ) \ln \left (\frac {\left (-c x +1\right ) e -d c -e}{-d c -e}\right )}{2 d^{3}}+\frac {b \dilog \left (-c x +1\right ) e^{2}}{2 d^{3}}-\frac {a \,e^{2} \ln \left (\left (-c x +1\right ) e -d c -e \right )}{d^{3}}-\frac {a}{2 d \,x^{2}}+\frac {a e}{d^{2} x}+\frac {a \,e^{2} \ln \left (-c x \right )}{d^{3}}-\frac {c^{2} b \ln \left (c x \right )}{4 d}+\frac {c^{2} b \ln \left (c x +1\right )}{4 d}-\frac {b \ln \left (c x +1\right )}{4 d \,x^{2}}-\frac {b c e \ln \left (c x \right )}{2 d^{2}}+\frac {b c e \ln \left (c x +1\right )}{2 d^{2}}+\frac {b e \ln \left (c x +1\right )}{2 d^{2} x}-\frac {b \,e^{2} \dilog \left (\frac {\left (c x +1\right ) e +d c -e}{d c -e}\right )}{2 d^{3}}-\frac {b \,e^{2} \ln \left (c x +1\right ) \ln \left (\frac {\left (c x +1\right ) e +d c -e}{d c -e}\right )}{2 d^{3}}-\frac {b \dilog \left (c x +1\right ) e^{2}}{2 d^{3}}\) \(431\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*arctanh(c*x))/x^3/(e*x+d),x,method=_RETURNVERBOSE)

[Out]

c^2*(-1/2*a/d/c^2/x^2+a/c^2/d^3*e^2*ln(c*x)+a/c^2/d^2*e/x-a/c^2/d^3*e^2*ln(c*e*x+c*d)-1/2*b*arctanh(c*x)/d/c^2
/x^2+b/c^2*arctanh(c*x)/d^3*e^2*ln(c*x)+b/c^2*arctanh(c*x)/d^2*e/x-b/c^2*arctanh(c*x)/d^3*e^2*ln(c*e*x+c*d)-1/
4*b/d*ln(c*x-1)+1/2*b/c/d^2*ln(c*x-1)*e+1/4*b/d*ln(c*x+1)+1/2*b/c/d^2*ln(c*x+1)*e-b/c/d^2*e*ln(c*x)-1/2*b/d/c/
x-1/2*b/c^2/d^3*e^2*dilog(c*x)-1/2*b/c^2/d^3*e^2*dilog(c*x+1)-1/2*b/c^2/d^3*e^2*ln(c*x)*ln(c*x+1)-1/2*b/c^2/d^
3*e^2*ln(c*e*x+c*d)*ln((c*e*x-e)/(-c*d-e))-1/2*b/c^2/d^3*e^2*dilog((c*e*x-e)/(-c*d-e))+1/2*b/c^2/d^3*e^2*ln(c*
e*x+c*d)*ln((c*e*x+e)/(-c*d+e))+1/2*b/c^2/d^3*e^2*dilog((c*e*x+e)/(-c*d+e)))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))/x^3/(e*x+d),x, algorithm="maxima")

[Out]

-1/2*a*(2*e^2*log(x*e + d)/d^3 - 2*e^2*log(x)/d^3 - (2*x*e - d)/(d^2*x^2)) + 1/2*b*integrate((log(c*x + 1) - l
og(-c*x + 1))/(x^4*e + d*x^3), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))/x^3/(e*x+d),x, algorithm="fricas")

[Out]

integral((b*arctanh(c*x) + a)/(x^4*e + d*x^3), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \operatorname {atanh}{\left (c x \right )}}{x^{3} \left (d + e x\right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*atanh(c*x))/x**3/(e*x+d),x)

[Out]

Integral((a + b*atanh(c*x))/(x**3*(d + e*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x))/x^3/(e*x+d),x, algorithm="giac")

[Out]

integrate((b*arctanh(c*x) + a)/((e*x + d)*x^3), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,\mathrm {atanh}\left (c\,x\right )}{x^3\,\left (d+e\,x\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*atanh(c*x))/(x^3*(d + e*x)),x)

[Out]

int((a + b*atanh(c*x))/(x^3*(d + e*x)), x)

________________________________________________________________________________________